[INFO] cloning repository https://github.com/VeCnAvEc/Mini-blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VeCnAvEc/Mini-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeCnAvEc%2FMini-blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeCnAvEc%2FMini-blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a33c1a3942c049bdbded0c76356437cd0a8712d0
[INFO] checking VeCnAvEc/Mini-blockchain against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeCnAvEc%2FMini-blockchain" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/VeCnAvEc/Mini-blockchain on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/VeCnAvEc/Mini-blockchain
[INFO] finished tweaking git repo https://github.com/VeCnAvEc/Mini-blockchain
[INFO] tweaked toml for git repo https://github.com/VeCnAvEc/Mini-blockchain written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/VeCnAvEc/Mini-blockchain already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded time v0.3.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c01d47cbd0d68397b976c62e335a188f5dcada097d3521e1662327e0b57e39b2
[INFO] running `Command { std: "docker" "start" "-a" "c01d47cbd0d68397b976c62e335a188f5dcada097d3521e1662327e0b57e39b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c01d47cbd0d68397b976c62e335a188f5dcada097d3521e1662327e0b57e39b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c01d47cbd0d68397b976c62e335a188f5dcada097d3521e1662327e0b57e39b2", kill_on_drop: false }`
[INFO] [stdout] c01d47cbd0d68397b976c62e335a188f5dcada097d3521e1662327e0b57e39b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8ee823d54e590508038bf1cacc86caaabfc437386b85c4a4cea78daeac36e350
[INFO] running `Command { std: "docker" "start" "-a" "8ee823d54e590508038bf1cacc86caaabfc437386b85c4a4cea78daeac36e350", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.127
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling serde v1.0.142
[INFO] [stderr]    Compiling serde_derive v1.0.142
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]     Checking time v0.3.12
[INFO] [stderr]     Checking console v0.15.1
[INFO] [stderr]     Checking indicatif v0.17.0
[INFO] [stderr]     Checking blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]   --> src/blockchain.rs:90:30
[INFO] [stdout]    |
[INFO] [stdout] 90 |             timestamp: time::now().to_timespec().sec,
[INFO] [stdout]    |                              ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]   --> src/blockchain.rs:90:30
[INFO] [stdout]    |
[INFO] [stdout] 90 |             timestamp: time::now().to_timespec().sec,
[INFO] [stdout]    |                              ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `BlockHeader`
[INFO] [stdout]    --> src/blockchain.rs:113:35
[INFO] [stdout]     |
[INFO] [stdout] 22  | / pub struct BlockHeader {
[INFO] [stdout] 23  | |     timestamp: i64,
[INFO] [stdout] 24  | |     nonce: u32,
[INFO] [stdout] 25  | |     pre_hash: String,
[INFO] [stdout] 26  | |     merkle: String,
[INFO] [stdout] 27  | |     difficulty: u32,
[INFO] [stdout] 28  | | }
[INFO] [stdout]     | |_- `BlockHeader` defined here
[INFO] [stdout] ...
[INFO] [stdout] 113 |           Chain::proof_of_work(&mut BlockHeader);
[INFO] [stdout]     |                                     ^^^^^^^^^^^ help: use struct literal syntax instead: `BlockHeader { timestamp: val, nonce: val, pre_hash: val, merkle: val, difficulty: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found struct `BlockHeader`
[INFO] [stdout]    --> src/blockchain.rs:113:35
[INFO] [stdout]     |
[INFO] [stdout] 22  | / pub struct BlockHeader {
[INFO] [stdout] 23  | |     timestamp: i64,
[INFO] [stdout] 24  | |     nonce: u32,
[INFO] [stdout] 25  | |     pre_hash: String,
[INFO] [stdout] 26  | |     merkle: String,
[INFO] [stdout] 27  | |     difficulty: u32,
[INFO] [stdout] 28  | | }
[INFO] [stdout]     | |_- `BlockHeader` defined here
[INFO] [stdout] ...
[INFO] [stdout] 113 |           Chain::proof_of_work(&mut BlockHeader);
[INFO] [stdout]     |                                     ^^^^^^^^^^^ help: use struct literal syntax instead: `BlockHeader { timestamp: val, nonce: val, pre_hash: val, merkle: val, difficulty: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:14:26
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut miner_addr = String::new();
[INFO] [stdout]    |                          ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:14:26
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut miner_addr = String::new();
[INFO] [stdout]    |                          ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut difficulty = String::new();
[INFO] [stdout]    |                          ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut difficulty = String::new();
[INFO] [stdout]    |                          ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut choice = String::new();
[INFO] [stdout]    |                      ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut choice = String::new();
[INFO] [stdout]    |                      ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 let mut sender = String::new();
[INFO] [stdout]    |                                  ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:43:34
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 let mut sender = String::new();
[INFO] [stdout]    |                                  ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 let mut receiver = String::new();
[INFO] [stdout]    |                                    ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:44:36
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 let mut receiver = String::new();
[INFO] [stdout]    |                                    ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:45:34
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 let mut amount = String::new();
[INFO] [stdout]    |                                  ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:45:34
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 let mut amount = String::new();
[INFO] [stdout]    |                                  ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:71:36
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 let mut new_diff = String::new();
[INFO] [stdout]    |                                    ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `String` is a variant, not a module
[INFO] [stdout]   --> src/main.rs:71:36
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 let mut new_diff = String::new();
[INFO] [stdout]    |                                    ^^^^^^ `String` is a variant, not a module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:86:41
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn get_input (ask_mesage: &str, s: &mut String) {
[INFO] [stdout]    |                                         ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `String`
[INFO] [stdout]   --> src/main.rs:86:41
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn get_input (ask_mesage: &str, s: &mut String) {
[INFO] [stdout]    |                                         ^^^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout] 5  + use std::string::String;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/main.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/main.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Chain {
[INFO] [stdout]    | ---------------- function or associated item `hash` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 74 |         Chain::hash(&block.header)
[INFO] [stdout]    |                ^^^^ function or associated item not found in `Chain`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `hash`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]   --> src/blockchain.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Chain {
[INFO] [stdout]    | ---------------- function or associated item `hash` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 74 |         Chain::hash(&block.header)
[INFO] [stdout]    |                ^^^^ function or associated item not found in `Chain`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `hash`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `clone` on type `std::string::String`
[INFO] [stdout]   --> src/blockchain.rs:99:39
[INFO] [stdout]    |
[INFO] [stdout] 99 |             receiver: self.miner_addr.clone,
[INFO] [stdout]    |                                       ^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 99 |             receiver: self.miner_addr.clone(),
[INFO] [stdout]    |                                            ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `clone` on type `std::string::String`
[INFO] [stdout]   --> src/blockchain.rs:99:39
[INFO] [stdout]    |
[INFO] [stdout] 99 |             receiver: self.miner_addr.clone,
[INFO] [stdout]    |                                       ^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 99 |             receiver: self.miner_addr.clone(),
[INFO] [stdout]    |                                            ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `get_merkle` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `get_merkle` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 112 |         block.header.merkle = Chain::get_merkle(block.transactions.clone);
[INFO] [stdout]     |                                      ^^^^^^^^^^ function or associated item not found in `Chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `get_merkle` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `get_merkle` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 112 |         block.header.merkle = Chain::get_merkle(block.transactions.clone);
[INFO] [stdout]     |                                      ^^^^^^^^^^ function or associated item not found in `Chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `clone` on type `Vec<Transaction>`
[INFO] [stdout]    --> src/blockchain.rs:112:68
[INFO] [stdout]     |
[INFO] [stdout] 112 |         block.header.merkle = Chain::get_merkle(block.transactions.clone);
[INFO] [stdout]     |                                                                    ^^^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 112 |         block.header.merkle = Chain::get_merkle(block.transactions.clone());
[INFO] [stdout]     |                                                                         ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `clone` on type `Vec<Transaction>`
[INFO] [stdout]    --> src/blockchain.rs:112:68
[INFO] [stdout]     |
[INFO] [stdout] 112 |         block.header.merkle = Chain::get_merkle(block.transactions.clone);
[INFO] [stdout]     |                                                                    ^^^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 112 |         block.header.merkle = Chain::get_merkle(block.transactions.clone());
[INFO] [stdout]     |                                                                         ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `proof_of_work` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:113:16
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `proof_of_work` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 113 |         Chain::proof_of_work(&mut BlockHeader);
[INFO] [stdout]     |                ^^^^^^^^^^^^^ function or associated item not found in `Chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `proof_of_work` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:113:16
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `proof_of_work` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 113 |         Chain::proof_of_work(&mut BlockHeader);
[INFO] [stdout]     |                ^^^^^^^^^^^^^ function or associated item not found in `Chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:125:27
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `hash` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 125 |         let hash = Chain::hash(t);
[INFO] [stdout]     |                           ^^^^ function or associated item not found in `Chain`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `hash`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:125:27
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `hash` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 125 |         let hash = Chain::hash(t);
[INFO] [stdout]     |                           ^^^^ function or associated item not found in `Chain`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `hash`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:138:25
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `hash` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 138 |         let nh = Chain::hash(&h1);
[INFO] [stdout]     |                         ^^^^ function or associated item not found in `Chain`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `hash`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:138:25
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `hash` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 138 |         let nh = Chain::hash(&h1);
[INFO] [stdout]     |                         ^^^^ function or associated item not found in `Chain`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `hash`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:160:27
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `hash` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 160 |         let hash = Chain::hash(header);
[INFO] [stdout]     |                           ^^^^ function or associated item not found in `Chain`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `hash`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hash` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:160:27
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `hash` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 160 |         let hash = Chain::hash(header);
[INFO] [stdout]     |                           ^^^^ function or associated item not found in `Chain`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `hash`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `input` found for struct `CoreWrapper` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout] 191 |     hasher.input(input.as_bytes());
[INFO] [stdout]     |            ^^^^^ method not found in `CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `input` found for struct `CoreWrapper` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout] 191 |     hasher.input(input.as_bytes());
[INFO] [stdout]     |            ^^^^^ method not found in `CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `result` found for struct `CoreWrapper` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:192:22
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let res = hasher.result();
[INFO] [stdout]     |                      ^^^^^^ method not found in `CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hex_to_string` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:195:12
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `hex_to_string` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 195 |     Chain::hex_to_string(vec_res.as_slice())
[INFO] [stdout]     |            ^^^^^^^^^^^^^ function or associated item not found in `Chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `result` found for struct `CoreWrapper` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:192:22
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let res = hasher.result();
[INFO] [stdout]     |                      ^^^^^^ method not found in `CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `hex_to_string` found for struct `blockchain::Chain` in the current scope
[INFO] [stdout]    --> src/blockchain.rs:195:12
[INFO] [stdout]     |
[INFO] [stdout] 37  | pub struct Chain {
[INFO] [stdout]     | ---------------- function or associated item `hex_to_string` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 195 |     Chain::hex_to_string(vec_res.as_slice())
[INFO] [stdout]     |            ^^^^^^^^^^^^^ function or associated item not found in `Chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]   --> src/blockchain.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 | use self::sha2::{Sha256, Digest};
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]   --> src/blockchain.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 | use self::sha2::{Sha256, Digest};
[INFO] [stdout]    |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0573, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0573, E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain` (bin "blockchain") due to 22 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `blockchain` (bin "blockchain" test) due to 22 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8ee823d54e590508038bf1cacc86caaabfc437386b85c4a4cea78daeac36e350", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ee823d54e590508038bf1cacc86caaabfc437386b85c4a4cea78daeac36e350", kill_on_drop: false }`
[INFO] [stdout] 8ee823d54e590508038bf1cacc86caaabfc437386b85c4a4cea78daeac36e350
